package com.gm.dao.right;

import com.gm.model.po.Right;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IRightDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Right record);

    int insertSelective(Right record);

    Right selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Right record);

    int updateByPrimaryKey(Right record);

    List<Right> getRightListByLevel(@Param("parentId") Integer parentId);

    List<Right> getRightListByIds(@Param("ids") String[] ids);
}